const routes = [
  {
    path: "/pageList/index",
    redirect:'/selfService'
    // component: () => import("@/views/pageList/index.vue"),
    // meta: { title: "校园自助打印服务系统", requireAuth: true, index: 10 },
  },
  {
    path: "/pageList/electronicAcademic",
    component: () => import("@/views/pageList/electronicAcademic.vue"),
    meta: { title: "电子成绩单", requireAuth: true, index: 20 },
  },
  {
    path: "/pageList/achievement",
    component: () => import("@/views/pageList/achievement.vue"),
    meta: { title: "更多成绩单", requireAuth: true, index: 30 },
  },
  {
    path: "/pageList/preview",
    component: () => import("@/views/pageList/preview.vue"),
    meta: { title: "文件预览", requireAuth: true, index: 40, keepAlive: true },
  },
  // {
  //     path: "/pageList/mailboxSettings",
  //     component: () =>
  //         import ("@/views/pageList/mailboxSettings.vue"),
  //     meta: { title: "邮箱设置", requireAuth: true, index: 50 },
  // },
  {
    path: "/pageList/filePreview",
    component: () => import("@/views/pageList/filePreview.vue"),
    meta: { title: "操作成功", requireAuth: true, index: 55 },
  },
  {
    path: "/pageList/documentRecord",
    component: () => import("@/views/pageList/documentRecord.vue"),
    meta: { title: "文件申请记录", requireAuth: true, index: 60 },
  },
  {
    path: "/pageList/personalDetails",
    component: () => import("@/views/pageList/personalDetails.vue"),
    meta: { title: "个人信息", requireAuth: true, index: 65 },
  },
  {
    path: "/ec",
    component: () => import("@/views/verification/index.vue"),
    meta: { title: "真伪验证", index: 10 },
  },
];

export default routes;
